package com.rimi.service;

import com.rimi.bean.Appointment;
import com.rimi.bean.Doctor;
import com.rimi.bean.Pets;
import com.rimi.commons.CommonResult;

import java.util.Date;
import java.util.List;

public interface AppointmentService {
    List<Pets> findPetByUserId(Integer userId);

    List<Doctor> findDoctorByDate(String beginDate, String endDate);

    List<Doctor> findDoctorByWeek(String week);

    CommonResult addAppointment(Appointment appointment);

    CommonResult deleteAppointmentByUser(String appointmentId);

    CommonResult deleteAppointmentByAdministrator(String appointmentId);

    List<Appointment> findAppointmentByUserId(Integer userId);

    List<Appointment> findMedicalrecordsByUserId(Integer userId);
}
